package org.zn.mvcbase.config.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.zn.mvcbase.rest.RestGateway;

@ConfigurationProperties(prefix = BootMvcProperty.BOOT_PREFIX)
public class BootMvcProperty {

	public final static String BOOT_PREFIX = "bootmvc";

	
	private Thymeleaf thymeleaf=new Thymeleaf();
	private Exception exception=new Exception();
	private ViewGate  viewgate=new ViewGate();
	private Rest rest=new Rest();
	private Mybatis mybatis=new Mybatis();
	private RestGateway  gateway=new RestGateway();
	private ResponseMessage  responseMessage=new ResponseMessage();
	

	public Mybatis getMybatis() {
		return mybatis;
	}

	public void setMybatis(Mybatis mybatis) {
		this.mybatis = mybatis;
	}

	public ViewGate getViewgate() {
		return viewgate;
	}

	public void setViewgate(ViewGate viewgate) {
		this.viewgate = viewgate;
	}

	public Thymeleaf getThymeleaf() {
		return thymeleaf;
	}

	public void setThymeleaf(Thymeleaf thymeleaf) {
		this.thymeleaf = thymeleaf;
	}

	public Exception getException() {
		return exception;
	}

	public void setException(Exception exception) {
		this.exception = exception;
	}

	public Rest getRest() {
		return rest;
	}

	public void setRest(Rest rest) {
		this.rest = rest;
	}

	public RestGateway getGateway() {
		return gateway;
	}

	public void setGateway(RestGateway gateway) {
		this.gateway = gateway;
	}

	public ResponseMessage getResponseMessage() {
		return responseMessage;
	}

	public void setResponseMessage(ResponseMessage responseMessage) {
		this.responseMessage = responseMessage;
	}

	
	

	
}
